Automattic\Jetpack\Waf\Waf_Runner A

Total Complexity 51
Dependencies 13
Dependents 9
Total lines 421
Lines of code 200
Logical lines of code 111
Comment lines 154
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
run()
S
53 6 23
automatic_rules_available()
S
54 6 22
is_supported_environment()
S
60 6 15
initialize()
S
58 5 18
initialize_waf_directory()
S
61 4 13
activate()
S
58 3 16
deactivate()
S
62 3 12
initialize_filesystem()
S
65 3 9
is_allowed_mode()
S
64 2 10
is_enabled()
S
71 2 6
create_blocklog_table()
S
61 1 15
get_waf_file_path()
S
67 2 7
get_config()
S
62 1 12
enable()
S
78 1 3
disable()
S
79 1 3
get_bootstrap_file_path()
S
76 1 4
add_hooks()
S
78 1 3
did_run()
S
80 1 3
errorHandler()
S
89 1 2
update_waf()
S
77 1 4